package mooc;

import java.util.List;

public class Student {
    private String sid;
    private String name;
    private Integer age;
    private String addr;

    public Student() {
    }

    public Student( String sid, String name, Integer age, String addr ) {
        this.sid = sid;
        this.name = name;
        this.age = age;
        this.addr = addr;
    }

    public String getSid ( String sid ) {
        return sid;
    }

    public void setSid ( String sid ) {
        this.sid = sid;
    }

    public String getName ( String name ) {
        return name;
    }

    public void setName ( String name ) {
        this.name = name;
    }

    public Integer getAge ( Integer age ) {
        return age;
    }

    public void setAge ( Integer age ) {
        this.age = age;
    }

    public String getAddr ( String addr ) {
        return addr;
    }

    public void setAdd ( String addr ) {
        this.addr = addr;
    }
}

public class ArrayList {
    public static void main(String[] args) {
        List<Student> student = new List();
        student.add("A1", "Smith", 1, "Longhua Airport");
    }
}
